placesview: simplify code
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 28 Jul 2015 14:46:25 +0000 (11:46 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 28 Jul 2015 14:46:25 +0000 (11:46 -0300)
commite51946270a0dc0c3fd359125103af6a0c0ab7ab6
treed317978bd4c411ddb3584ea6d6ac08825fa92bf3
parentda114047198048cb4c1defc49c0a427dfcdbf408
placesview: simplify code

Since we started adding a persistent Computer item,
all the code related to the view modes became obsolete,
since the view is never empty anymore. So, drop this
dead code and use the plain stack to manage the empty
search results view.

Also, this patch fixed a very annoying keyboard navigation
issue where we couldn't go from the On This Computer to Networks
lists, because they were two separate widgets. Merge the two
lists into a single one, and update headers accordingly.
gtk/gtkplacesview.c
gtk/ui/gtkplacesview.ui